package com.java.multipledatasource.registered;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hu
 * @version 1.0
 * @date 2020/12/30 0030 下午 2:37
 * @description
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Result {

    private Integer code;

    private String message;

    private Object data;

    public static Result success(){
        return  new Result(200, null, null);
    }
}
